package com.yuanzong.wuliu.controller.admin.auth.param;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

@Data
public class AdminAuthLoginParam {

    @ApiModelProperty(value = "用户名")
    @NotEmpty(message = "用户名不能为空")
    private String username;

    @ApiModelProperty(value = "密码")
    @NotEmpty(message = "密码不能为空")
    private String password;

    @ApiModelProperty(value = "图片验证码key")
    @NotEmpty(message = "图片验证码key不能为空")
    private String photoCodeKey;

    @ApiModelProperty(value = "图片验证码")
    @NotEmpty(message = "图片验证码不能为空")
    private String photoCode;
}
